<?php
/**
 * 资讯路由
 */
Route::group(['prefix' => 'news','namespace'=>'News'],function() {
    Route::post('index', 'IndexController@index','list'); //资讯列表
    Route::post('detail', 'IndexController@detail','detail'); //资讯详情
    Route::post('praise', 'IndexController@setPraise'); //点赞
    Route::post('add', 'IndexController@add'); //发布
});

